package com.pingan.license.model;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @AUTHOR:LIUCHAO;
 * @DATE: 2020/12/2 14:57
 */
@Component
public class LicenseCliModel implements Serializable {

    /**
     * 公钥别名
     */
    @Value("${public.alias}")
    private String pubAlias;
    /**
     * 该密码是在使用keytool生成密钥对时设置的密钥库的访问密码
     */
    @Value("${key.store.pwd}")
    private String keyStorePwd;
    /**
     * 系统的统一识别码
     */
    @Value("${subject}")
    private String onlykey;
    /**
     * 证书路径
     */
    @Value("${license.name}")
    private String licName;
    /**
     * 公钥库路径
     */
    @Value("${public.store.path}")
    private String pubPath;

    public String getPubAlias() {
        return pubAlias;
    }

    public void setPubAlias(String pubAlias) {
        this.pubAlias = pubAlias;
    }

    public String getKeyStorePwd() {
        return keyStorePwd;
    }

    public void setKeyStorePwd(String keyStorePwd) {
        this.keyStorePwd = keyStorePwd;
    }

    public String getOnlykey() {
        return onlykey;
    }

    public void setOnlykey(String onlykey) {
        this.onlykey = onlykey;
    }

    public String getLicName() {
        return licName;
    }

    public void setLicName(String licName) {
        this.licName = licName;
    }

    public String getPubPath() {
        return pubPath;
    }

    public void setPubPath(String pubPath) {
        this.pubPath = pubPath;
    }
}
